package com.jiaanpei.frameproject.modle.bean.base;

import com.jiaanpei.frameproject.modle.net.RetrofitHelper;

public class BaseLoader {
    /**
     * 登录
     * @param baseRequest
     * @param callBackListener
     */
    public static void LoginBean(BaseRequest baseRequest,CallBackListener callBackListener){
        RetrofitHelper.getBaseApis().LoginBean(baseRequest).enqueue(callBackListener);
    }

    /**
     * 版本更新
     * @param baseRequest
     * @param callBackListener
     */
    public static void AppUpdateBean(BaseRequest baseRequest,CallBackListener callBackListener){
        RetrofitHelper.getBaseApis().AppUpdateBean(baseRequest).enqueue(callBackListener);
    }
}
